/* *
 * @file    audio_tts.h
 * @author  Azolla (1228449928@qq.com)
 * @brief   TTS I2S audio code.
 * @version 0.1
 * @date    2024-02-19
 * 
 * @copyright Copyright (c) 2024
 * */
#ifndef __AUDIO_TTS_H__
#define __AUDIO_TTS_H__

#ifdef __cpluspuls
extern "C" {
#endif

typedef struct {
    char  *text;
    uint8_t len;
} audio_tts_stream_t;
 
void audio_tts_init(void);

int audio_tts_player(const char *text);

#ifdef __cpluspuls
}
#endif

#endif /* __AUDIO_TTS_H__ END. */
